[main]
filesize=82725
sha512=3a0dbec19eb093b6a818910a1b24f2d7328dc785dc12cd0097c37f98e7ac558d31cda8717381d814259bd54f5de12e50cc8d9d617bd4e09c4a903ef63838807f

[mirrors]
http://sourceforge.net/projects/heirloom/files/heirloom-sh/050706/heirloom-sh-050706.tar.bz2

[deps]

[build]
patch -p1 < "$K/heirloom-sh.patch" #putting binaries in /local/bin, which is first in default PATH
patch -p0 defs.h < "$K/heirloom-sh-defs.patch" #disable dependency on sys/acct.h
CFLAGS="-D_GNU_SOURCE -static" #making static to avoid hosed system after libc update
make -j$MAKE_THREADS || exit 1
make DESTDIR="$butch_install_dir" install || exit 1 
